#!/bin/bash
gfortran -o exerA exerA.f90
./exerA << fim1
0.1
1
900
fim1

mv vel1_out.dat vel1_out_t1.dat

./exerA << fim2
0.1
0.1
900
fim2

mv vel1_out.dat vel1_out_t01.dat

./exerA << fim3
0.1
0.01
900
fim3

mv vel1_out.dat vel1_out_t001.dat

gnuplot plotA.gnu

rm -f vel1_*
rm -f vel_exata.dat
